package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.OrderItemDto;
import com.huilian.iotbox.data.dto.StatsUserDto;
import com.huilian.iotbox.data.po.OrderItem;
import com.huilian.iotbox.data.vo.OrderItemVo;

import java.util.List;

/**
 * @author 龙 路 飞
 * @CreateDate: 2023-08-10 16:35
 * @Description:
 */
public interface OrderItemDao {
    /**
     * 新增order_item
     */
    Integer insertOrderItem(OrderItem orderItem);

    List<OrderItemVo> findOrderItemByOrderIdList(OrderItemDto orderItemDto);

    OrderItemVo findOrderItemDayStatistics(StatsUserDto statsUserDto);

    List<OrderItemVo> findProductDetails(OrderItemDto orderItemDto);
}
